package com.csyf.manager.controller.system;

import com.csyf.manager.entity.SysPaymentChannel;
import com.csyf.manager.service.SysPaymentChannelBiz;
import com.csyf.manager.utils.page.JqGridVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: casper
 * @Description: 代付通道管理
 * @Date: Created in 2018/12/19 16:53
 */
@Controller
@RequestMapping("/paymentChan")
public class SysPaymentChannelController {

    @Autowired
    private SysPaymentChannelBiz sysPaymentChannelBiz;

    /**
     * 代付通道列表
     *
     * @param vo
     * @param rows
     * @param page
     * @return
     */
    @ResponseBody
    @PostMapping(value = "/paymentChanList")
    public JqGridVo paymentchannelDataList(SysPaymentChannel vo, Integer page, Integer rows) {
        return sysPaymentChannelBiz.querydata(vo, page, rows);
    }

}
